package com.yhp.resource;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

//读取资源文件的信息
@Component
@ConfigurationProperties(prefix = "file")
@PropertySource("classpath:file-upload-prod.properties")
public class FileUpad {

    private  String image_headface_url;
    private String image_server_url;

    public String getImage_server_url() {
        return image_server_url;
    }

    public void setImage_server_url(String image_server_url) {
        this.image_server_url = image_server_url;
    }

    public String getImage_headface_url() {
        return image_headface_url;
    }

    public void setImage_headface_url(String image_headface_url) {
        this.image_headface_url = image_headface_url;
    }
}
